#define _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"

int main()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	while (!QueueEmpty(&q))
	{
		printf("%d ", QueueFront(&q));
		QueuePop(&q);

	}
	//printf("%d ", QueueBack(&q));
	//printf("%d ", QueueFront(&q));
	//QueuePop(&q);
	//printf("%d\n", QueueSize(&q));
	//QueuePop(&q);
	//printf("%d\n", QueueSize(&q));
	//QueuePop(&q);
	//printf("%d\n", QueueSize(&q));
	////QueueDestory(&q);
	//printf("%d\n", QueueSize(&q));
	//QueueDestory(&q);
	QueueDestory(&q);

	return 0;
}